﻿namespace ViaConvert.Model
{
    public class Json
    {
        public class Root
        {
            public AddressInfo AddressInfo { get; set; }
        }

        public class AddressInfo
        {
            public City[] City { get; set; }
        }

        public class City
        {
            public string name { get; set; }
            public string code { get; set; }
            public District[] District { get; set; }
        }

        public class District
        {
            public string name { get; set; }
            public Zip[] Zip { get; set; }
        }

        public class Zip
        {
            public string code { get; set; }
        }
    }
}
